/**
 * 组件索引文件
 * 用于统一导出所有通用组件
 */

import ThemeButton from './common/ThemeButton.vue'
import DialogFooter from './common/DialogFooter.vue'
import ConfirmButton from './common/ConfirmButton.vue'
import ThemeSwitch from './theme/ThemeSwitch.vue'
import ThemeColorPicker from './theme/ThemeColorPicker.vue'

// 导出所有组件
export {
  ThemeButton,
  DialogFooter,
  ConfirmButton,
  ThemeSwitch,
  ThemeColorPicker
}

// 组件安装函数，用于app.use()
export default {
  install(app) {
    app.component('ThemeButton', ThemeButton)
    app.component('DialogFooter', DialogFooter)
    app.component('ConfirmButton', ConfirmButton)
    app.component('ThemeSwitch', ThemeSwitch)
    app.component('ThemeColorPicker', ThemeColorPicker)
  }
} 